/**
 * 引用源码会将square shake掉，无需在package.json中添加sideEffects
 */
// import { cube } from '../pkg/src';

/**
 * 引用打包目录：main指向dist/index.js
 */
import { cube } from '../pkg';
console.log('5 cubed is equal to ' + cube(5));
